package com.wyk.greendaodemo.greendao.gen;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * Created by 15888 on 2016/9/23.
 */
@Entity
public class HourData {
    @Id
    private Long id;   //主键
    private Integer orderNum;  //序号
    private String number;  //设备编号
    private String model;   //专业机械
    private Double consumption;   //耗电量
    private int hour;        //时刻
    public int getHour() {
        return this.hour;
    }
    public void setHour(int hour) {
        this.hour = hour;
    }
    public double getConsumption() {
        return this.consumption;
    }
    public void setConsumption(double consumption) {
        this.consumption = consumption;
    }
    public String getModel() {
        return this.model;
    }
    public void setModel(String model) {
        this.model = model;
    }
    public String getNumber() {
        return this.number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public int getOrderNum() {
        return this.orderNum;
    }
    public void setOrderNum(int orderNum) {
        this.orderNum = orderNum;
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public void setConsumption(Double consumption) {
        this.consumption = consumption;
    }
    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }
    @Generated(hash = 371097809)
    public HourData(Long id, Integer orderNum, String number, String model,
            Double consumption, int hour) {
        this.id = id;
        this.orderNum = orderNum;
        this.number = number;
        this.model = model;
        this.consumption = consumption;
        this.hour = hour;
    }
    @Generated(hash = 1343323796)
    public HourData() {
    }


}
